<?php
class Manageusers extends CI_Model
{
    public $Username = "";
    public $Password = "";
    public $NgayKhoiTao = "";
    public function __construct() {
        parent::__construct();
        $this->load->database();
    }    
    
    
    public function LoadThongTinNguoiDung()
    {
        $data = array('tendangnhap' => $this->Username, 'matkhau' => $this->Password);
        $this->db->select('tendangnhap, tenhienthi');
        $this->db->where($data);
        $query =  $this->db->get('users');
        return $query;
    }
    
    public function DoiMatKhau()
    {
        
    }
    
    public function QuenMatKhau()
    {
        
    }
}
?>